package com.liangsong.designpattern.command;

public class Waiter {
    private AbstractCommand command;
    public Waiter(){
    }
    public void setCommand(AbstractCommand command){
        this.command = command;
    }
    public void order(){
        command.cookCommand();
    }
}
